﻿<%@ Page Title="" Language="C#" MasterPageFile="~/common/Admin.master" AutoEventWireup="true" CodeFile="saving_apply.aspx.cs" Inherits="product_saving_admin_saving_apply" %>

 <asp:Content ID="leftMenu" ContentPlaceHolderID="leftMenu" Runat="Server">
     <ul>
     <li><a href="<%= Page.ResolveUrl("~/product/saving/admin/saving_apply.aspx")%>">
       Open Saving Account</a></li>
    <li><a href="<%= Page.ResolveUrl("~/product/card/admin/ApplicationPending.aspx")%>">
        Debit Card Applicant List</a></li>
    <li><a href="<%= Page.ResolveUrl("~/product/insurance/admin/insurance_applicant_list.aspx")%>">
        Insurance Applicant List</a></li>
  
                   
    </ul>

</asp:Content>

<asp:Content ID="Content1" ContentPlaceHolderID="content" runat="Server">
    <script type="text/javascript">

        //"Accept terms" form submission- By Dynamic Drive
        //For full source code and more DHTML scripts, visit http://www.dynamicdrive.com
        //This credit MUST stay intact for use

        var checkobj

        function agreesubmit(el) {
            checkobj = el
            if (document.all || document.getElementById) {
                for (i = 0; i < checkobj.form.length; i++) {  //hunt down submit button
                    var tempobj = checkobj.form.elements[i]
                    if (tempobj.type.toLowerCase() == "submit")
                        tempobj.disabled = !checkobj.checked
                }
            }

        }

        function defaultagree(el) {


            document.application.submit;

        }

</script>

<script type="text/javascript" language="JavaScript1.2">


    var highlightcolor = "#81BEF7"

    var ns6 = document.getElementById && !document.all
    var previous = ''
    var eventobj

    //Regular expression to highlight only form elements
    var intended = /INPUT|TEXTAREA|SELECT|OPTION/

    //Function to check whether element clicked is form element
    function checkel(which) {
        if (which.style && intended.test(which.tagName)) {
            if (ns6 && eventobj.nodeType == 3)
                eventobj = eventobj.parentNode.parentNode
            return true
        }
        else
            return false
    }

    //Function to highlight form element
    function highlight(e) {
        eventobj = ns6 ? e.target : event.srcElement
        if (previous != '') {
            if (checkel(previous))
                previous.style.backgroundColor = ''
            previous = eventobj
            if (checkel(eventobj))
                eventobj.style.backgroundColor = highlightcolor
        }
        else {
            if (checkel(eventobj))
                eventobj.style.backgroundColor = highlightcolor
            previous = eventobj
        }
    }

</script>

    
    <h1>
        Saving Account Online Application</h1>
    <p>
        &nbsp;</p>
    <p>
        Helping Singaporeans save and prepare for their future has always been the core mission of 
        PowerSaver Bank. As a bank that has served generations of Singaporeans, POSB 
        traces its history to when it often visited children at schools to help them 
        start their first PowerSaver savings accounts. Today, we are still carrying on this tradition of inculcating the virtues of savings and thrift among the young through fun and innovative ideas such as the collection of savings stamps, which many today still have fond memories of.</p>
    <p>
        To be eligible:</p>
    <p>
        (a)(i) you must be aged between 15 
        and below years old for Kids Saver Saving Account<br />               (a)(ii) or aged 16 to 28 years old for 
        Power Save Saving Account (inclusive);

    <p>
        (b) Singaporean or PR.</p>
    <fieldset style="background-color:#D8F0F8;">
        <legend style="background-color:#0000CC; color:White;">Customer&#39;s Particulars&nbsp; </legend>
    

                                   

                                               First Name :
                                               <asp:TextBox ID="tbfName" runat="server"></asp:TextBox>

                                           

                                           

                                               &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:RequiredFieldValidator 
            ID="RequiredFieldValidator1" runat="server" ControlToValidate="tbfName" 
            ErrorMessage="Please key in customer's name."></asp:RequiredFieldValidator>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />

                                           

                                           

                                               Last Name :
                                               <asp:TextBox ID="tblName" runat="server"></asp:TextBox>

                                           

                                       

                                               &nbsp;&nbsp;&nbsp;&nbsp;
        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
            ControlToValidate="tblName" ErrorMessage="Please key in customer's name."></asp:RequiredFieldValidator>
        <br />
        NRIC :&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; <asp:TextBox 
                                                   ID="tbIC"  placeholder="e.g. S1234567" runat="server"></asp:TextBox>
                                               &nbsp;&nbsp;&nbsp;&nbsp;<asp:RequiredFieldValidator 
            ID="RequiredFieldValidator3" runat="server" ControlToValidate="tbIC" 
            ErrorMessage="Please key in customer's NRIC."></asp:RequiredFieldValidator>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <br />

                                           

                                               Nationality:&nbsp;&nbsp; 
                                               <asp:TextBox ID="tbNationality" placeholder="e.g. Singaporean" runat="server"></asp:TextBox>

                                          

                     &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
            ControlToValidate="tbNationality" 
            ErrorMessage="Please key in customer's Nationality"></asp:RequiredFieldValidator>

                                          

                     <br />

                                          

                     Gender : 
        <asp:RadioButtonList ID="rblGender" runat="server" 
           >
            <asp:ListItem Value="Male">Male</asp:ListItem>
            <asp:ListItem Value="Female">Female</asp:ListItem>
        </asp:RadioButtonList>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
            ControlToValidate="rblGender" ErrorMessage="Please select customer's gender."></asp:RequiredFieldValidator>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

                   <br />

                   Martial Status: 

						<asp:DropDownList ID="ddlStatus" runat="server">
                            <asp:ListItem Value="Single">Single</asp:ListItem>
                            <asp:ListItem Value="Married">Married</asp:ListItem>
                            <asp:ListItem Value="Divorced">Divorced</asp:ListItem>
                            <asp:ListItem Value="Widowed">Widowed</asp:ListItem>
                            <asp:ListItem Value="Others">Others</asp:ListItem>
                        </asp:DropDownList>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator6" 
            runat="server" ControlToValidate="ddlStatus" 
            ErrorMessage="Please select customer's martial status."></asp:RequiredFieldValidator>
                        <br />
                        Date of Birth :&nbsp;
                        <asp:DropDownList ID="ddlDay" runat="server" 
            required="required">
                            <asp:ListItem>01</asp:ListItem>
                            <asp:ListItem>02</asp:ListItem>
                            <asp:ListItem>03</asp:ListItem>
                            <asp:ListItem>04</asp:ListItem>
                            <asp:ListItem>05</asp:ListItem>
                            <asp:ListItem>06</asp:ListItem>
                            <asp:ListItem>07</asp:ListItem>
                            <asp:ListItem>08</asp:ListItem>
                            <asp:ListItem>09</asp:ListItem>
                            <asp:ListItem>10</asp:ListItem>
                            <asp:ListItem>11</asp:ListItem>
                            <asp:ListItem>12</asp:ListItem>
                            <asp:ListItem>13</asp:ListItem>
                            <asp:ListItem>14</asp:ListItem>
                            <asp:ListItem>15</asp:ListItem>
                            <asp:ListItem>16</asp:ListItem>
                            <asp:ListItem>17</asp:ListItem>
                            <asp:ListItem>18</asp:ListItem>
                            <asp:ListItem>19</asp:ListItem>
                            <asp:ListItem>20</asp:ListItem>
                            <asp:ListItem>21</asp:ListItem>
                            <asp:ListItem>22</asp:ListItem>
                            <asp:ListItem>23</asp:ListItem>
                            <asp:ListItem>24</asp:ListItem>
                            <asp:ListItem>25</asp:ListItem>
                            <asp:ListItem>26</asp:ListItem>
                            <asp:ListItem>27</asp:ListItem>
                            <asp:ListItem>28</asp:ListItem>
                            <asp:ListItem>29</asp:ListItem>
                            <asp:ListItem>30</asp:ListItem>
                            <asp:ListItem>31</asp:ListItem>
                        </asp:DropDownList>
&nbsp;<asp:DropDownList ID="ddlMonth" runat="server" required="required">
                            <asp:ListItem Value="01">January</asp:ListItem>
                            <asp:ListItem Value="02">February</asp:ListItem>
                            <asp:ListItem Value="03">March</asp:ListItem>
                            <asp:ListItem Value="04">April</asp:ListItem>
                            <asp:ListItem Value="05">May</asp:ListItem>
                            <asp:ListItem Value="06">June</asp:ListItem>
                            <asp:ListItem Value="07">July</asp:ListItem>
                            <asp:ListItem Value="08">August</asp:ListItem>
                            <asp:ListItem Value="09">September</asp:ListItem>
                            <asp:ListItem Value="10">October</asp:ListItem>
                            <asp:ListItem Value="11">November</asp:ListItem>
                            <asp:ListItem Value="12">December</asp:ListItem>
                        </asp:DropDownList>
&nbsp;<asp:DropDownList ID="ddlYear" runat="server" required="required">
                            <asp:ListItem>2013</asp:ListItem>
<asp:ListItem>2012</asp:ListItem>
<asp:ListItem>2011</asp:ListItem>
<asp:ListItem>2010</asp:ListItem>
<asp:ListItem>2009</asp:ListItem>
<asp:ListItem>2008</asp:ListItem>
<asp:ListItem>2007</asp:ListItem>
<asp:ListItem>2006</asp:ListItem>
                            <asp:ListItem Value="2005">2005</asp:ListItem>
                            <asp:ListItem Value="2004">2004</asp:ListItem>
                            <asp:ListItem Value="2003">2003</asp:ListItem>
                            <asp:ListItem Value="2002">2002</asp:ListItem>
                            <asp:ListItem Value="2001">2001</asp:ListItem>
                            <asp:ListItem Value="2000">2000</asp:ListItem>
                            <asp:ListItem Value="1999">1999</asp:ListItem>
                            <asp:ListItem Value="1998">1998</asp:ListItem>
                            <asp:ListItem Value="1997">1997</asp:ListItem>
                            <asp:ListItem Value="1996">1996</asp:ListItem>
                            <asp:ListItem Value="1995">1995</asp:ListItem>
                            <asp:ListItem Value="1994">1994</asp:ListItem>
                            <asp:ListItem Value="1993">1993</asp:ListItem>
                            <asp:ListItem Value="1992">1992</asp:ListItem>
                            <asp:ListItem Value="1991">1991</asp:ListItem>
                            <asp:ListItem Value="1990">1990</asp:ListItem>
                            <asp:ListItem Value="1989">1989</asp:ListItem>
                            <asp:ListItem Value="1988">1988</asp:ListItem>
                            <asp:ListItem Value="1987">1987</asp:ListItem>
                            <asp:ListItem Value="1986">1986</asp:ListItem>
                            <asp:ListItem Value="1985">1985</asp:ListItem>
                            <asp:ListItem Value="1984">1984</asp:ListItem>
                            <asp:ListItem Value="1983">1983</asp:ListItem>
                            <asp:ListItem Value="1982">1982</asp:ListItem>
                            <asp:ListItem Value="1981">1981</asp:ListItem>
                            <asp:ListItem Value="1980">1980</asp:ListItem>
                            <asp:ListItem Value="1979">1979</asp:ListItem>
                            <asp:ListItem Value="1978">1978</asp:ListItem>
                            <asp:ListItem Value="1977">1977</asp:ListItem>
                            <asp:ListItem Value="1976">1976</asp:ListItem>
                            <asp:ListItem Value="1975">1975</asp:ListItem>
                            <asp:ListItem Value="1974">1974</asp:ListItem>
                            <asp:ListItem Value="1973">1973</asp:ListItem>
                            <asp:ListItem Value="1972">1972</asp:ListItem>
                            <asp:ListItem Value="1971">1971</asp:ListItem>
                            <asp:ListItem Value="1970">1970</asp:ListItem>
                            <asp:ListItem Value="1969">1969</asp:ListItem>
                            <asp:ListItem Value="1968">1968</asp:ListItem>
                            <asp:ListItem Value="1967">1967</asp:ListItem>
                            <asp:ListItem Value="1966">1966</asp:ListItem>
                            <asp:ListItem Value="1965">1965</asp:ListItem>
                            <asp:ListItem Value="1964">1964</asp:ListItem>
                            <asp:ListItem Value="1963">1963</asp:ListItem>
                            <asp:ListItem Value="1962">1962</asp:ListItem>
                            <asp:ListItem Value="1961">1961</asp:ListItem>
                            <asp:ListItem Value="1960">1960</asp:ListItem>
                        </asp:DropDownList>
                        
                          <asp:RequiredFieldValidator ID="RequiredFieldValidator7" 
            runat="server" ControlToValidate="ddlYear" 
            ErrorMessage="Please select customer's dob."></asp:RequiredFieldValidator>
                        
                          <br />
                        
                          Occupation: 
        &nbsp;&nbsp;
                          <asp:TextBox ID="tbOccupation" placeholder="e.g. Student" runat="server"></asp:TextBox>
                          <asp:RequiredFieldValidator ID="RequiredFieldValidator8" 
            runat="server" ControlToValidate="tbOccupation" 
            ErrorMessage="Please key in customer's occupation."></asp:RequiredFieldValidator>
                          <br />
                          <br />
        Contact Number<br />
       Home:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; 
                            <asp:TextBox ID="tbHome"  placeholder="e.g. 61234567" runat="server"></asp:TextBox>
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
        <br />
        Mobile:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <asp:TextBox 
            ID="tbMobile"  placeholder="e.g. 91234567" runat="server"></asp:TextBox>
                             &nbsp;<asp:RequiredFieldValidator 
            ID="RequiredFieldValidator9" runat="server" ControlToValidate="tbMobile" 
            ErrorMessage="Please key in customer's contact number."></asp:RequiredFieldValidator>
        <br />
        Email Address:  
                        <asp:TextBox ID="tbEmail" placeholder="abc123@hotmail.com" runat="server" Height="22px" Width="285px"></asp:TextBox>
                        
                          <asp:RequiredFieldValidator ID="RequiredFieldValidator10" 
            runat="server" ControlToValidate="tbEmail" 
            ErrorMessage="Please key in customer's email."></asp:RequiredFieldValidator>
                        
                          <br />
       Address:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:TextBox ID="tbAddress" placeholder="Woodlands Ave 5"  runat="server" 
            Width="328px"></asp:TextBox>
                               

                      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:RequiredFieldValidator 
            ID="RequiredFieldValidator11" runat="server" ControlToValidate="tbAddress" 
            ErrorMessage="Please key in customer's address."></asp:RequiredFieldValidator>
        &nbsp;    

                      <br />
        Postal Code:&nbsp;&nbsp;&nbsp;&nbsp;        
                         <asp:TextBox ID="tbPostalCode"  placeholder="730123" runat="server"></asp:TextBox>
                          &nbsp;&nbsp;  

					     
                          
                                   
                                   
                                  
                                   
         
        <asp:RequiredFieldValidator ID="RequiredFieldValidator12" runat="server" 
            ControlToValidate="tbPostalCode" 
            ErrorMessage="Please key in customer's address postal code."></asp:RequiredFieldValidator>

					     
                          
                                   
                                   
                                  
                                   
         
    </fieldset>
    
        <br />
    
        <br />
    
        
        <br />
        <fieldset style="background-color:#D8F0F8;">
            <legend style="background-color:#0000CC; color:White;">Payment Method</legend>
           
            
                        Choice of plan:&nbsp;
                        <asp:DropDownList ID="ddlPlan"  runat="server">
                            <asp:ListItem Text="PowerSave Saving Account" Value="PowerSave"></asp:ListItem>
                            <asp:ListItem Text="KidsSaver Saving Account" Value="KidsSaver"></asp:ListItem>
                        </asp:DropDownList>
                    
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator13" 
                runat="server" ControlToValidate="ddlPlan" 
                ErrorMessage="Please select Saving Account type."></asp:RequiredFieldValidator>
                    
                        <br />
                    
                        <br />
                   
                        &nbsp;<asp:CheckBox ID="cbCondition" required="required" runat="server" Text=" " />
                        I have read and understand and agree the terms and conditions before this application
                        being confirmed.<br />
            <br />
                 
                        &nbsp;<asp:Button ID="btSumit" runat="server" 
                Text="Sumit Application" onclick="btSumit_Click" />
&nbsp;</fieldset>
    <br />
    <br />
    
</asp:Content>

<asp:Content ID="Content2" runat="server" contentplaceholderid="html_js">
        <script type="text/javascript">
            $(document).ready(function () {
                $("#zone-bar li span").mouseover(function () {
                    var hidden = $(this).parents("li").children("ul").is(":hidden");

                    $("#zone-bar>ul>li>ul").hide();
                    $("#zone-bar>ul>li>a").removeClass();

                    if (hidden) {
                        $(this).parents("li").children("ul").toggle(300)
                        .parents("li").children("a").addClass("zoneCur");
                    }
                });

                $(".submenu").hover(
                      function () { ; },
                      function () {
                          $(this).toggle(300);
                      }
                );

                try {
                    $("#accordion").accordion();
                } catch (e) {
                    console.error(e);
                }

                try {
                    $("#tabs").tabs();
                } catch (e) {
                    console.error(e);
                }

            });
	</script>
   
        </asp:Content>




